﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000591 RID: 1425
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishedMissionScNotify : IMessage<FinishedMissionScNotify>, IMessage, IEquatable<FinishedMissionScNotify>, IDeepCloneable<FinishedMissionScNotify>, IBufferMessage
	{
		// Token: 0x17001247 RID: 4679
		// (get) Token: 0x0600400C RID: 16396 RVA: 0x000AF8A9 File Offset: 0x000ADAA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishedMissionScNotify> Parser
		{
			get
			{
				return FinishedMissionScNotify._parser;
			}
		}

		// Token: 0x17001248 RID: 4680
		// (get) Token: 0x0600400D RID: 16397 RVA: 0x000AF8B0 File Offset: 0x000ADAB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishedMissionScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001249 RID: 4681
		// (get) Token: 0x0600400E RID: 16398 RVA: 0x000AF8C2 File Offset: 0x000ADAC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishedMissionScNotify.Descriptor;
			}
		}

		// Token: 0x0600400F RID: 16399 RVA: 0x000AF8C9 File Offset: 0x000ADAC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishedMissionScNotify()
		{
		}

		// Token: 0x06004010 RID: 16400 RVA: 0x000AF8DC File Offset: 0x000ADADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishedMissionScNotify(FinishedMissionScNotify other) : this()
		{
			this.finishedMainMissionIdList_ = other.finishedMainMissionIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004011 RID: 16401 RVA: 0x000AF906 File Offset: 0x000ADB06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishedMissionScNotify Clone()
		{
			return new FinishedMissionScNotify(this);
		}

		// Token: 0x1700124A RID: 4682
		// (get) Token: 0x06004012 RID: 16402 RVA: 0x000AF90E File Offset: 0x000ADB0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FinishedMainMissionIdList
		{
			get
			{
				return this.finishedMainMissionIdList_;
			}
		}

		// Token: 0x06004013 RID: 16403 RVA: 0x000AF916 File Offset: 0x000ADB16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishedMissionScNotify);
		}

		// Token: 0x06004014 RID: 16404 RVA: 0x000AF924 File Offset: 0x000ADB24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishedMissionScNotify other)
		{
			return other != null && (other == this || (this.finishedMainMissionIdList_.Equals(other.finishedMainMissionIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004015 RID: 16405 RVA: 0x000AF958 File Offset: 0x000ADB58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.finishedMainMissionIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004016 RID: 16406 RVA: 0x000AF98C File Offset: 0x000ADB8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004017 RID: 16407 RVA: 0x000AF994 File Offset: 0x000ADB94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004018 RID: 16408 RVA: 0x000AF99D File Offset: 0x000ADB9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.finishedMainMissionIdList_.WriteTo(ref output, FinishedMissionScNotify._repeated_finishedMainMissionIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004019 RID: 16409 RVA: 0x000AF9C4 File Offset: 0x000ADBC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.finishedMainMissionIdList_.CalculateSize(FinishedMissionScNotify._repeated_finishedMainMissionIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600401A RID: 16410 RVA: 0x000AF9FD File Offset: 0x000ADBFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishedMissionScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.finishedMainMissionIdList_.Add(other.finishedMainMissionIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600401B RID: 16411 RVA: 0x000AFA2B File Offset: 0x000ADC2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600401C RID: 16412 RVA: 0x000AFA34 File Offset: 0x000ADC34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U && num != 82U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.finishedMainMissionIdList_.AddEntriesFrom(ref input, FinishedMissionScNotify._repeated_finishedMainMissionIdList_codec);
				}
			}
		}

		// Token: 0x04001945 RID: 6469
		private static readonly MessageParser<FinishedMissionScNotify> _parser = new MessageParser<FinishedMissionScNotify>(() => new FinishedMissionScNotify());

		// Token: 0x04001946 RID: 6470
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001947 RID: 6471
		public const int FinishedMainMissionIdListFieldNumber = 10;

		// Token: 0x04001948 RID: 6472
		private static readonly FieldCodec<uint> _repeated_finishedMainMissionIdList_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04001949 RID: 6473
		private readonly RepeatedField<uint> finishedMainMissionIdList_ = new RepeatedField<uint>();
	}
}
